/*
 *  thread_exception.h
 */

#ifndef THREAD_EXCEPTION_H
#define THREAD_EXCEPTION_H

#include <exception>
#include <pthread.h>
#include "runnable.h"

class ThreadException : public std::exception {

public:
    ThreadException() throw() {}
    ~ThreadException() throw() {}
    virtual const char* what() const throw() { return "Thread exception"; }
};

#endif  //THREAD_EXCEPTION_H

//{+}

